﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SnackXpress.Observer.Subject;
using SnackXpress.Observer.Observer;
using System.Collections;

namespace SnackXpress.Client
{
    public abstract class SnackXpress
    {
        public Snack OrderSnack(string type)
        {
            Snack snack = CreateSnack(type);
            return snack;
        }

        protected abstract Snack CreateSnack(string type);
        public abstract string Name { get; set; }
    }
}
